<!-- TWO STEPS TO INSTALL NEW BROWSERS ONLY: 1. Paste the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Copy this code into the HEAD of your HTML document --> <html> <head><script LANGUAGE="JavaScript"> <!--Total Java Scripts 99 - Next Step Software--> <!-- Begin function onlyNewbrowsers() { browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))) if (browser) { alert('You are obviously using Netscape 3+ or MSIE 4+. Older browsers are not allowed to read this.....')} else {} } // End --> </script> <!-- STEP TWO: Put this code into the BODY of your HTML document --> <title>New Page 5</title> </head> <body> <form ACTION onSubmit="onlyNewbrowsers()"> <p><input type="submit" Value="New Browsers Only Script"> </p> </form> <!-- Script Size: 1.04 KB --> <p> </p> <!--This is not part of the script just the button to view source!--> <form> <p><input TYPE="button" NAME="view" VALUE="click me for the source of the page " OnClick="window.location="view-source:" +window.location.href"> </p> </form> <!--This is not part of the script just the button to view source!--> </body> </html>
1998 Copyright (C) Next Step All Rights Reserved